﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="thongtincanhan.aspx.cs" Inherits="admin_thongtincanhan" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
        .headertilte{
         	font-size:35px;
            color:#39629F;
            font-weight:bold;
            text-align:center;
            margin:0;
            width:100%;
            padding:10px 0px 10px 0px;
            border-bottom:1px solid #ededed;
         	}
         	.thongtin td
         	{
         		padding-left:10px;
         	}
         	
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="headertilte">
        <asp:Label ID="lbhead" runat="server" Text="Thông Tin Account"></asp:Label></div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
<div style="width:100%;height:auto;margin-top:20px">
    <table style="border:1px solid gray;margin:0 auto" width="400px"  class="thongtin"
        >
        <tr>
            <td colspan="2" style="background:gray; color: White">
                Thông Tin</td>
        </tr>
        <tr>
            <td class="style3">
                Họ
                Tên :</td>
            <td>
                <asp:TextBox ID="txthoten" runat="server" ReadOnly="True" Width="226px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txthoten" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                Email:</td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server" ReadOnly="True" Width="226px"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                    ErrorMessage="not Email" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    ControlToValidate="txtEmail"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                Địa Chi:</td>
            <td>
                <asp:TextBox ID="txtdiachi" runat="server" ReadOnly="True" Width="226px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txtdiachi" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                Giới Tính:</td>
            <td>
                <asp:RadioButtonList ID="rdbtgioitinh" runat="server" Enabled="False" 
                    RepeatDirection="Horizontal">
                    <asp:ListItem Value="1">Nam</asp:ListItem>
                    <asp:ListItem Value="0">Nữ</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td>
                Điện Thoại:</td>
            <td>
                <asp:TextBox ID="txtSoDT" runat="server" ReadOnly="True"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                    ControlToValidate="txtSoDT" ErrorMessage="Không Phải Là SĐT" Font-Italic="True" 
                    ValidationExpression="\d+$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
            </td>
            <td>
                <asp:Label ID="lbloi" runat="server" Font-Italic="True" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2" valign="middle" align="center" >
                <asp:LinkButton ID="lbCapNhatTT" runat="server" CssClass="style1" 
                    ForeColor="Blue" onclick="lbCapNhatTT_Click" >&gt;&gt;Chỉnh Sửa</asp:LinkButton>
                <asp:Button ID="btLuu" runat="server" 
                    style="margin-left: 0px" Text="Lưu" Visible="False" 
                    onclick="btLuu_Click" />
                <asp:LinkButton ID="lbdoimatkhau" runat="server" CssClass="style1" 
                    ForeColor="Blue" PostBackUrl="~/admin/DoiPass.aspx" >&gt;&gt;Đổi Mật Khẩu</asp:LinkButton>
                <asp:Button ID="bthuy" runat="server" CausesValidation="False" Text="Hủy" 
                    Visible="False" onclick="bthuy_Click" 
                    />
            </td>
        </tr>
    </table>
</div>
</ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

